package ipad.asia.controller;

import ipad.asia.config.FtpConsumer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

@RestController
public class upload {

    @RequestMapping("/upload")
    public String upload() throws IOException {
        FtpConsumer.downloadFile();
        return "加载文件成功！";
    }
}
